<?php
declare(strict_types=1);

namespace app\model;

use think\Model;

class WorkChatMember extends Model
{
    protected $name = 'work_chat_member';
    
    // 关联群聊
    public function chat()
    {
        return $this->belongsTo(WorkChatRecord::class, 'chat_id', 'chat_id');
    }
} 